home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 59338 / 59338.xpi / chrome / global / dirListing / dirListing.css next >
Cascading Style Sheet File  |  2009-12-14  |  4KB  |  159 lines

  1. /* ***** BEGIN LICENSE BLOCK *****
  2.  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
  3.  *
  4.  * The contents of this file are subject to the Mozilla Public License Version
  5.  * 1.1 (the "License"); you may not use this file except in compliance with
  6.  * the License. You may obtain a copy of the License at
  7.  * http://www.mozilla.org/MPL/
  8.  *
  9.  * Software distributed under the License is distributed on an "AS IS" basis,
  10.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  11.  * for the specific language governing rights and limitations under the
  12.  * License.
  13.  *
  14.  * The Original Code is mozilla.org code.
  15.  *
  16.  * The Initial Developer of the Original Code is
  17.  * D├úo Gottwald <dao@design-noir.de>.
  18.  * Portions created by the Initial Developer are Copyright (C) 2007
  19.  * the Initial Developer. All Rights Reserved.
  20.  *
  21.  * Contributor(s):
  22.  *   Ehsan Akhgari <ehsan.akhgari@gmail.com>
  23.  *
  24.  * Alternatively, the contents of this file may be used under the terms of
  25.  * either the GNU General Public License Version 2 or later (the "GPL"), or
  26.  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  27.  * in which case the provisions of the GPL or the LGPL are applicable instead
  28.  * of those above. If you wish to allow use of your version of this file only
  29.  * under the terms of either the GPL or the LGPL, and not to allow others to
  30.  * use your version of this file under the terms of the MPL, indicate your
  31.  * decision by deleting the provisions above and replace them with the notice
  32.  * and other provisions required by the GPL or the LGPL. If you do not delete
  33.  * the provisions above, a recipient may use your version of this file under
  34.  * the terms of any one of the MPL, the GPL or the LGPL.
  35.  *
  36.  * ***** END LICENSE BLOCK ***** */
  37.  
  38. :root {
  39. background-color: #E0DFDE;
  40. background-image:url(chrome://global/skin/dirListing/kfm.png);
  41. background-repeat:no-repeat;
  42. color: -moz-dialogtext;
  43. font: message-box;
  44. padding-left: 2em;
  45. padding-right: 2em;
  46. }
  47.  
  48. body {
  49. border:3px solid;
  50. -moz-border-left-colors: #e7e6e6 #bab8b6 #eeeeed;
  51. -moz-border-right-colors: #e7e6e6 #bab8b6 #eeeeed;
  52. -moz-border-top-colors: #e7e6e6 #bab8b6 #eeeeed;
  53. -moz-border-bottom-colors: #e7e6e6 #bab8b6 #eeeeed;
  54. -moz-border-radius: 10px;
  55. padding: 3em;
  56. min-width: 30em;
  57. max-width: 65em;
  58. margin: 4em auto;
  59. background-color: #ffffff;
  60. color: #000;
  61. }
  62.  
  63. h1 {
  64. font-size: 160%;
  65. margin: 0 0 .6em;
  66. padding:5px;
  67. text-align:center;
  68. font-weight: normal;
  69. background: Transparent url("chrome://browser/skin/preferences/select.png") center center !important;
  70. color: #ffffff;
  71. border:2px solid;
  72. -moz-border-top-colors:#418bd4 #89c5fe;
  73. -moz-border-bottom-colors:#418bd4 #71a8df;
  74. -moz-border-right-colors:#418bd4 #77b0e7;
  75. -moz-border-left-colors:#418bd4 #77afe6;
  76. -moz-border-radius:2px;
  77. }
  78.  
  79. a {
  80. text-decoration: none;
  81. color:#000;
  82. }
  83.  
  84. a:hover {
  85. text-decoration: none;
  86. }
  87.  
  88. p {
  89. font-size: 110%;
  90. }
  91.  
  92. #UI_goUp {
  93. margin-top: 0;
  94. float: left;
  95. }
  96.  
  97. body[dir="rtl"] #UI_goUp {
  98. float: right;
  99. }
  100.  
  101. #UI_showHidden {
  102. margin-top: 0;
  103. float: right;
  104. }
  105.  
  106. body[dir="rtl"] #UI_showHidden {
  107. float: left;
  108. }
  109.  
  110. table {
  111. clear: both;
  112. width: 90%;
  113. margin: 0 auto;
  114. }
  115.  
  116. thead {
  117. font-size: 130%;
  118. background-color:#DEEDFC;
  119. outline: 1px solid #D7E8F8;
  120. -moz-outline-radius: .3em;
  121. }
  122.  
  123. /* last modified */
  124. th:last-child {
  125. text-align: center !important;
  126. }
  127.  
  128. th:hover > a {
  129. text-decoration: none;
  130. }
  131.  
  132. tbody > tr:hover {
  133. outline: 1px solid #D7E8F8;
  134. -moz-outline-radius: .3em;
  135. background-color:#DEEDFC;
  136. }
  137.  
  138. /* let 'Size' and 'Last Modified' take only as much space as they need and 'Name' all the rest */
  139. td:not(:first-child) {
  140. width: 0;
  141. }
  142.  
  143. .up {
  144. padding: 0 .5em;
  145. -moz-margin-start: 20px;
  146. }
  147.  
  148. .up::before {
  149. -moz-margin-end: 4px;
  150. -moz-margin-start: -20px;
  151. vertical-align: middle;
  152. content: url(chrome://global/skin/dirListing/up.png);
  153. }
  154.  
  155. .dir::before {
  156. content: url(chrome://global/skin/dirListing/folder.png);
  157. }
  158.  
  159.